package com.niiwoo.civet.mobile.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@ApiModel("债转列表标的参数")
public class CreditorSalePageVO {

	@ApiModelProperty("债权出让明细订单表ID")
	private Long creditorSaleDetailId;
	@ApiModelProperty("投资订单ID")
	private Long investOrderId;
	@ApiModelProperty("标的id")
	private Long projectId;

	@ApiModelProperty("债权出让人用户id")
	private String creditorUserId;
	@ApiModelProperty("债权出让人头像")
	private String creditorHeadImage;
	@ApiModelProperty("债权出让人昵称")
	private String creditorNickName;
	@ApiModelProperty("债权出让人性别:(0、未知 1、男 2、女)")
	private Byte creditorGender;
	@ApiModelProperty("债权出让人你我分")
	private Integer creditorNiiwooScore;

	@ApiModelProperty("年化利率(10%则返回0.1)")
	private BigDecimal borrowRate;
	@ApiModelProperty("年化利率*100(10%则返回10)")
	private String borrowRateDesc;

	@ApiModelProperty("标的总期数")
	private Integer deadline;
	@ApiModelProperty("剩余期数月")
	private Integer remainingDeadlineMonth;
	@ApiModelProperty("剩余期数天")
	private Integer remainingDeadlineDay;
	@ApiModelProperty("最后一期回款日(格式:yyyy-MM-dd)")
	private String endDate;

	@ApiModelProperty("优惠方式：1全价转让，2降价转让")
	private Byte favorableType;
	@ApiModelProperty("债权出让价格")
	private BigDecimal saleAmount;
	@ApiModelProperty("债权金额")
	private BigDecimal amount;
	@ApiModelProperty("降价比例")
	private BigDecimal offPercent;
	@ApiModelProperty("降价金额")
	private BigDecimal offAmount;
	@ApiModelProperty("预期收益")
	private BigDecimal interest;

	@ApiModelProperty("系统当前时间(格式:yyyy-MM-dd HH:mm:ss)")
	private String currentTime;
	@ApiModelProperty("过期时间(格式:yyyy-MM-dd HH:mm:ss)")
	private String expireTime;
	@ApiModelProperty("倒计时时间(秒)")
	private Integer countDownTime;

	@ApiModelProperty("收益方式：(1到期还本息，2等额本息，3按月还息，到期还本)")
	private Byte repaymentType;

	@ApiModelProperty("产品类型：1:个人、2:企业")
	private Byte borrowerType;

    @ApiModelProperty("债转标的状态：1可投资、2已抢光、3已售罄")
    private Byte status;
}